<template>
  <webtopo-svg-preview :data-model="data_model" :canvas-drag="true"></webtopo-svg-preview>
</template>
<script setup lang="ts">
  import WebtopoSvgPreview from '@/components/webtopo-svg-preview/index.vue';
  import { IDataModel } from '@/components/webtopo-svg-edit/types';
  import { onMounted, ref } from 'vue';
  import { getRoomConfig } from '@/api/project';
  import { useRoute } from 'vue-router';
  const route = useRoute();
  const data_model = ref<IDataModel | null>(null);
  const code = ref<any>({
    projectType: '',
    roomCode: ''
  });
  data_model.value = {
    layout_center: {
      x: -127,
      y: 4
    },
    config: {
      background_color: 'rgba(43, 43, 43, 0)',
      scale: 0.7,
      background_url: 'background_url',
      background_size: {
        w: 1416,
        h: 652
      },
      position_center: {
        x: -333,
        y: -113
      },
      svg_position_center: {
        x: 50,
        y: 50
      }
    },
    done_json: [
      {
        id: 'terminal-svg-icetagTY4dwyPgu4',
        x: 836,
        y: 351,
        client: {
          x: 836,
          y: 351
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 811,
            y: 331
          },
          tc: {
            x: 836,
            y: 331
          },
          tr: {
            x: 861,
            y: 331
          },
          l: {
            x: 811,
            y: 351
          },
          r: {
            x: 861,
            y: 351
          },
          bl: {
            x: 811,
            y: 371
          },
          bc: {
            x: 836,
            y: 371
          },
          br: {
            x: 861,
            y: 371
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M1-01'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagbXZyGvE3LI',
        x: 785,
        y: 848,
        client: {
          x: 785,
          y: 848
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 760,
            y: 828
          },
          tc: {
            x: 785,
            y: 828
          },
          tr: {
            x: 810,
            y: 828
          },
          l: {
            x: 760,
            y: 848
          },
          r: {
            x: 810,
            y: 848
          },
          bl: {
            x: 760,
            y: 868
          },
          bc: {
            x: 785,
            y: 868
          },
          br: {
            x: 810,
            y: 868
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M1-04'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagSL8izdbOWJ',
        x: 948,
        y: 351,
        client: {
          x: 948,
          y: 351
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 923,
            y: 331
          },
          tc: {
            x: 948,
            y: 331
          },
          tr: {
            x: 973,
            y: 331
          },
          l: {
            x: 923,
            y: 351
          },
          r: {
            x: 973,
            y: 351
          },
          bl: {
            x: 923,
            y: 371
          },
          bc: {
            x: 948,
            y: 371
          },
          br: {
            x: 973,
            y: 371
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M1-08'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagd0pYPTx86e',
        x: 817,
        y: 520,
        client: {
          x: 817,
          y: 520
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 792,
            y: 500
          },
          tc: {
            x: 817,
            y: 500
          },
          tr: {
            x: 842,
            y: 500
          },
          l: {
            x: 792,
            y: 520
          },
          r: {
            x: 842,
            y: 520
          },
          bl: {
            x: 792,
            y: 540
          },
          bc: {
            x: 817,
            y: 540
          },
          br: {
            x: 842,
            y: 540
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调-copy-copy-copy',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M1-02'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagGTxaLJln3V',
        x: 800,
        y: 668,
        client: {
          x: 800,
          y: 668
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 775,
            y: 648
          },
          tc: {
            x: 800,
            y: 648
          },
          tr: {
            x: 825,
            y: 648
          },
          l: {
            x: 775,
            y: 668
          },
          r: {
            x: 825,
            y: 668
          },
          bl: {
            x: 775,
            y: 688
          },
          bc: {
            x: 800,
            y: 688
          },
          br: {
            x: 825,
            y: 688
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调-copy',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M1-03'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagngrwHkFUue',
        x: 930,
        y: 512,
        client: {
          x: 930,
          y: 512
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 905,
            y: 492
          },
          tc: {
            x: 930,
            y: 492
          },
          tr: {
            x: 955,
            y: 492
          },
          l: {
            x: 905,
            y: 512
          },
          r: {
            x: 955,
            y: 512
          },
          bl: {
            x: 905,
            y: 532
          },
          bc: {
            x: 930,
            y: 532
          },
          br: {
            x: 955,
            y: 532
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M1-07'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetag6K40R69ZC0',
        x: 919,
        y: 669,
        client: {
          x: 919,
          y: 669
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 894,
            y: 649
          },
          tc: {
            x: 919,
            y: 649
          },
          tr: {
            x: 944,
            y: 649
          },
          l: {
            x: 894,
            y: 669
          },
          r: {
            x: 944,
            y: 669
          },
          bl: {
            x: 894,
            y: 689
          },
          bc: {
            x: 919,
            y: 689
          },
          br: {
            x: 944,
            y: 689
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M1-06'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagEzvlx1e0MN',
        x: 896,
        y: 852,
        client: {
          x: 896,
          y: 852
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 871,
            y: 832
          },
          tc: {
            x: 896,
            y: 832
          },
          tr: {
            x: 921,
            y: 832
          },
          l: {
            x: 871,
            y: 852
          },
          r: {
            x: 921,
            y: 852
          },
          bl: {
            x: 871,
            y: 872
          },
          bc: {
            x: 896,
            y: 872
          },
          br: {
            x: 921,
            y: 872
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M1-05'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'public-text-ht45V9embbCE',
        x: 740,
        y: 1017,
        client: {
          x: 740,
          y: 1017
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 48.57143020629883,
          y: 17.14285659790039,
          width: 26.272319793701172,
          height: 15.714286804199219
        },
        point_coordinate: {
          tl: {
            x: 685.3013381958008,
            y: 1002.7142848968506
          },
          tc: {
            x: 740,
            y: 1002.7142848968506
          },
          tr: {
            x: 794.6986618041992,
            y: 1002.7142848968506
          },
          l: {
            x: 685.3013381958008,
            y: 1017
          },
          r: {
            x: 794.6986618041992,
            y: 1017
          },
          bl: {
            x: 685.3013381958008,
            y: 1031.2857151031494
          },
          bc: {
            x: 740,
            y: 1031.2857151031494
          },
          br: {
            x: 794.6986618041992,
            y: 1031.2857151031494
          }
        },
        name: 'public-text-ht',
        title: '文本',
        tag: 'public-text-ht',
        type: 'CustomSvg',
        config: {
          can_zoom: false,
          have_anchor: false,
          actual_rect: false
        },
        display: true,
        props: {
          text: {
            title: '文字内容',
            type: 'Input',
            val: 'AC-4F-M1'
          },
          fontFamily: {
            title: '字体',
            type: 'Select',
            val: 'Microsoft YaHei',
            options: [
              {
                value: 'Microsoft YaHei',
                label: '微软雅黑'
              },
              {
                value: 'NSimSun',
                label: '新宋体'
              }
            ]
          },
          rotate: {
            title: '方向',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '水平'
              },
              {
                value: -90,
                label: '垂直'
              }
            ]
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(172, 23, 226, 1)'
          },
          fontSize: {
            title: '文字大小',
            type: 'InputNumber',
            val: 22
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite'
        }
      },
      {
        id: 'public-text-htzL7NZovbY5',
        x: 1002,
        y: 1017,
        client: {
          x: 1002,
          y: 1017
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 48.57143020629883,
          y: 17.14285659790039,
          width: 26.272319793701172,
          height: 15.714286804199219
        },
        point_coordinate: {
          tl: {
            x: 947.3013381958008,
            y: 1002.7142848968506
          },
          tc: {
            x: 1002,
            y: 1002.7142848968506
          },
          tr: {
            x: 1056.6986618041992,
            y: 1002.7142848968506
          },
          l: {
            x: 947.3013381958008,
            y: 1017
          },
          r: {
            x: 1056.6986618041992,
            y: 1017
          },
          bl: {
            x: 947.3013381958008,
            y: 1031.2857151031494
          },
          bc: {
            x: 1002,
            y: 1031.2857151031494
          },
          br: {
            x: 1056.6986618041992,
            y: 1031.2857151031494
          }
        },
        name: 'public-text-ht',
        title: '文本',
        tag: 'public-text-ht',
        type: 'CustomSvg',
        config: {
          can_zoom: false,
          have_anchor: false,
          actual_rect: false
        },
        display: true,
        props: {
          text: {
            title: '文字内容',
            type: 'Input',
            val: 'AC-4F-M2'
          },
          fontFamily: {
            title: '字体',
            type: 'Select',
            val: 'Microsoft YaHei',
            options: [
              {
                value: 'Microsoft YaHei',
                label: '微软雅黑'
              },
              {
                value: 'NSimSun',
                label: '新宋体'
              }
            ]
          },
          rotate: {
            title: '方向',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '水平'
              },
              {
                value: -90,
                label: '垂直'
              }
            ]
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(172, 23, 226, 1)'
          },
          fontSize: {
            title: '文字大小',
            type: 'InputNumber',
            val: 22
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite'
        }
      },
      {
        id: 'public-text-htWIuokinZj5',
        x: 1273,
        y: 1012,
        client: {
          x: 1273,
          y: 1012
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 48.57143020629883,
          y: 17.14285659790039,
          width: 26.272319793701172,
          height: 15.714286804199219
        },
        point_coordinate: {
          tl: {
            x: 1218.3013381958008,
            y: 997.7142848968506
          },
          tc: {
            x: 1273,
            y: 997.7142848968506
          },
          tr: {
            x: 1327.6986618041992,
            y: 997.7142848968506
          },
          l: {
            x: 1218.3013381958008,
            y: 1012
          },
          r: {
            x: 1327.6986618041992,
            y: 1012
          },
          bl: {
            x: 1218.3013381958008,
            y: 1026.2857151031494
          },
          bc: {
            x: 1273,
            y: 1026.2857151031494
          },
          br: {
            x: 1327.6986618041992,
            y: 1026.2857151031494
          }
        },
        name: 'public-text-ht',
        title: '文本',
        tag: 'public-text-ht',
        type: 'CustomSvg',
        config: {
          can_zoom: false,
          have_anchor: false,
          actual_rect: false
        },
        display: true,
        props: {
          text: {
            title: '文字内容',
            type: 'Input',
            val: 'AC-4F-M3'
          },
          fontFamily: {
            title: '字体',
            type: 'Select',
            val: 'Microsoft YaHei',
            options: [
              {
                value: 'Microsoft YaHei',
                label: '微软雅黑'
              },
              {
                value: 'NSimSun',
                label: '新宋体'
              }
            ]
          },
          rotate: {
            title: '方向',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '水平'
              },
              {
                value: -90,
                label: '垂直'
              }
            ]
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(172, 23, 226, 1)'
          },
          fontSize: {
            title: '文字大小',
            type: 'InputNumber',
            val: 22
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite'
        }
      },
      {
        id: 'public-text-ht9MZgn54vaJ',
        x: 1535,
        y: 1017,
        client: {
          x: 1535,
          y: 1017
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 48.57143020629883,
          y: 17.14285659790039,
          width: 26.272319793701172,
          height: 15.714286804199219
        },
        point_coordinate: {
          tl: {
            x: 1480.3013381958008,
            y: 1002.7142848968506
          },
          tc: {
            x: 1535,
            y: 1002.7142848968506
          },
          tr: {
            x: 1589.6986618041992,
            y: 1002.7142848968506
          },
          l: {
            x: 1480.3013381958008,
            y: 1017
          },
          r: {
            x: 1589.6986618041992,
            y: 1017
          },
          bl: {
            x: 1480.3013381958008,
            y: 1031.2857151031494
          },
          bc: {
            x: 1535,
            y: 1031.2857151031494
          },
          br: {
            x: 1589.6986618041992,
            y: 1031.2857151031494
          }
        },
        name: 'public-text-ht',
        title: '文本',
        tag: 'public-text-ht',
        type: 'CustomSvg',
        config: {
          can_zoom: false,
          have_anchor: false,
          actual_rect: false
        },
        display: true,
        props: {
          text: {
            title: '文字内容',
            type: 'Input',
            val: 'AC-4F-M4'
          },
          fontFamily: {
            title: '字体',
            type: 'Select',
            val: 'Microsoft YaHei',
            options: [
              {
                value: 'Microsoft YaHei',
                label: '微软雅黑'
              },
              {
                value: 'NSimSun',
                label: '新宋体'
              }
            ]
          },
          rotate: {
            title: '方向',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '水平'
              },
              {
                value: -90,
                label: '垂直'
              }
            ]
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(172, 23, 226, 1)'
          },
          fontSize: {
            title: '文字大小',
            type: 'InputNumber',
            val: 22
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite'
        }
      },
      {
        id: 'public-text-htaqFyLQZpDt',
        x: 1803,
        y: 1021,
        client: {
          x: 1803,
          y: 1021
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 48.57143020629883,
          y: 17.14285659790039,
          width: 26.272319793701172,
          height: 15.714286804199219
        },
        point_coordinate: {
          tl: {
            x: 1748.3013381958008,
            y: 1006.7142848968506
          },
          tc: {
            x: 1803,
            y: 1006.7142848968506
          },
          tr: {
            x: 1857.6986618041992,
            y: 1006.7142848968506
          },
          l: {
            x: 1748.3013381958008,
            y: 1021
          },
          r: {
            x: 1857.6986618041992,
            y: 1021
          },
          bl: {
            x: 1748.3013381958008,
            y: 1035.2857151031494
          },
          bc: {
            x: 1803,
            y: 1035.2857151031494
          },
          br: {
            x: 1857.6986618041992,
            y: 1035.2857151031494
          }
        },
        name: 'public-text-ht',
        title: '文本',
        tag: 'public-text-ht',
        type: 'CustomSvg',
        config: {
          can_zoom: false,
          have_anchor: false,
          actual_rect: false
        },
        display: true,
        props: {
          text: {
            title: '文字内容',
            type: 'Input',
            val: 'AC-4F-M5'
          },
          fontFamily: {
            title: '字体',
            type: 'Select',
            val: 'Microsoft YaHei',
            options: [
              {
                value: 'Microsoft YaHei',
                label: '微软雅黑'
              },
              {
                value: 'NSimSun',
                label: '新宋体'
              }
            ]
          },
          rotate: {
            title: '方向',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '水平'
              },
              {
                value: -90,
                label: '垂直'
              }
            ]
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(172, 23, 226, 1)'
          },
          fontSize: {
            title: '文字大小',
            type: 'InputNumber',
            val: 22
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite'
        }
      },
      {
        id: 'terminal-svg-icetagOjLDiUUNRH',
        x: 1067,
        y: 342,
        client: {
          x: 1067,
          y: 342
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1042,
            y: 322
          },
          tc: {
            x: 1067,
            y: 322
          },
          tr: {
            x: 1092,
            y: 322
          },
          l: {
            x: 1042,
            y: 342
          },
          r: {
            x: 1092,
            y: 342
          },
          bl: {
            x: 1042,
            y: 362
          },
          bc: {
            x: 1067,
            y: 362
          },
          br: {
            x: 1092,
            y: 362
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M2-01'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagThvQSIE9iF',
        x: 1176,
        y: 346,
        client: {
          x: 1176,
          y: 346
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1151,
            y: 326
          },
          tc: {
            x: 1176,
            y: 326
          },
          tr: {
            x: 1201,
            y: 326
          },
          l: {
            x: 1151,
            y: 346
          },
          r: {
            x: 1201,
            y: 346
          },
          bl: {
            x: 1151,
            y: 366
          },
          bc: {
            x: 1176,
            y: 366
          },
          br: {
            x: 1201,
            y: 366
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M2-08'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagdp4Hy7LHeO',
        x: 1052,
        y: 669,
        client: {
          x: 1052,
          y: 669
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1027,
            y: 649
          },
          tc: {
            x: 1052,
            y: 649
          },
          tr: {
            x: 1077,
            y: 649
          },
          l: {
            x: 1027,
            y: 669
          },
          r: {
            x: 1077,
            y: 669
          },
          bl: {
            x: 1027,
            y: 689
          },
          bc: {
            x: 1052,
            y: 689
          },
          br: {
            x: 1077,
            y: 689
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M2-03'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetaggEMTUoyxWY',
        x: 1172,
        y: 520,
        client: {
          x: 1172,
          y: 520
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1147,
            y: 500
          },
          tc: {
            x: 1172,
            y: 500
          },
          tr: {
            x: 1197,
            y: 500
          },
          l: {
            x: 1147,
            y: 520
          },
          r: {
            x: 1197,
            y: 520
          },
          bl: {
            x: 1147,
            y: 540
          },
          bc: {
            x: 1172,
            y: 540
          },
          br: {
            x: 1197,
            y: 540
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M2-07'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagmSES7wpFGB',
        x: 1311,
        y: 350,
        client: {
          x: 1311,
          y: 350
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1286,
            y: 330
          },
          tc: {
            x: 1311,
            y: 330
          },
          tr: {
            x: 1336,
            y: 330
          },
          l: {
            x: 1286,
            y: 350
          },
          r: {
            x: 1336,
            y: 350
          },
          bl: {
            x: 1286,
            y: 370
          },
          bc: {
            x: 1311,
            y: 370
          },
          br: {
            x: 1336,
            y: 370
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M3-01'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagnnB9oCDscV',
        x: 1055,
        y: 520,
        client: {
          x: 1055,
          y: 520
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1030,
            y: 500
          },
          tc: {
            x: 1055,
            y: 500
          },
          tr: {
            x: 1080,
            y: 500
          },
          l: {
            x: 1030,
            y: 520
          },
          r: {
            x: 1080,
            y: 520
          },
          bl: {
            x: 1030,
            y: 540
          },
          bc: {
            x: 1055,
            y: 540
          },
          br: {
            x: 1080,
            y: 540
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M2-02'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagxM6fmen17W',
        x: 1159,
        y: 669,
        client: {
          x: 1159,
          y: 669
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1134,
            y: 649
          },
          tc: {
            x: 1159,
            y: 649
          },
          tr: {
            x: 1184,
            y: 649
          },
          l: {
            x: 1134,
            y: 669
          },
          r: {
            x: 1184,
            y: 669
          },
          bl: {
            x: 1134,
            y: 689
          },
          bc: {
            x: 1159,
            y: 689
          },
          br: {
            x: 1184,
            y: 689
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M2-06'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetag25AgRdhEZg',
        x: 1030,
        y: 846,
        client: {
          x: 1030,
          y: 846
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1005,
            y: 826
          },
          tc: {
            x: 1030,
            y: 826
          },
          tr: {
            x: 1055,
            y: 826
          },
          l: {
            x: 1005,
            y: 846
          },
          r: {
            x: 1055,
            y: 846
          },
          bl: {
            x: 1005,
            y: 866
          },
          bc: {
            x: 1030,
            y: 866
          },
          br: {
            x: 1055,
            y: 866
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M2-04'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagbv4COujnwN',
        x: 1150,
        y: 854,
        client: {
          x: 1150,
          y: 854
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1125,
            y: 834
          },
          tc: {
            x: 1150,
            y: 834
          },
          tr: {
            x: 1175,
            y: 834
          },
          l: {
            x: 1125,
            y: 854
          },
          r: {
            x: 1175,
            y: 854
          },
          bl: {
            x: 1125,
            y: 874
          },
          bc: {
            x: 1150,
            y: 874
          },
          br: {
            x: 1175,
            y: 874
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M2-05'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagPOoxBIyew0',
        x: 1423,
        y: 351,
        client: {
          x: 1423,
          y: 351
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1398,
            y: 331
          },
          tc: {
            x: 1423,
            y: 331
          },
          tr: {
            x: 1448,
            y: 331
          },
          l: {
            x: 1398,
            y: 351
          },
          r: {
            x: 1448,
            y: 351
          },
          bl: {
            x: 1398,
            y: 371
          },
          bc: {
            x: 1423,
            y: 371
          },
          br: {
            x: 1448,
            y: 371
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M3-08'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagt8PCfbMrmj',
        x: 1421,
        y: 550,
        client: {
          x: 1421,
          y: 550
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1396,
            y: 530
          },
          tc: {
            x: 1421,
            y: 530
          },
          tr: {
            x: 1446,
            y: 530
          },
          l: {
            x: 1396,
            y: 550
          },
          r: {
            x: 1446,
            y: 550
          },
          bl: {
            x: 1396,
            y: 570
          },
          bc: {
            x: 1421,
            y: 570
          },
          br: {
            x: 1446,
            y: 570
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M3-07'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 1,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetaggNHHHOtd24',
        x: 1292,
        y: 668,
        client: {
          x: 1292,
          y: 668
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1267,
            y: 648
          },
          tc: {
            x: 1292,
            y: 648
          },
          tr: {
            x: 1317,
            y: 648
          },
          l: {
            x: 1267,
            y: 668
          },
          r: {
            x: 1317,
            y: 668
          },
          bl: {
            x: 1267,
            y: 688
          },
          bc: {
            x: 1292,
            y: 688
          },
          br: {
            x: 1317,
            y: 688
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M3-03'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagTiXWWFF1vF',
        x: 1301,
        y: 552,
        client: {
          x: 1301,
          y: 552
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1276,
            y: 532
          },
          tc: {
            x: 1301,
            y: 532
          },
          tr: {
            x: 1326,
            y: 532
          },
          l: {
            x: 1276,
            y: 552
          },
          r: {
            x: 1326,
            y: 552
          },
          bl: {
            x: 1276,
            y: 572
          },
          bc: {
            x: 1301,
            y: 572
          },
          br: {
            x: 1326,
            y: 572
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M3-02'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagPazzAIX1rj',
        x: 1825,
        y: 355,
        client: {
          x: 1825,
          y: 355
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1800,
            y: 335
          },
          tc: {
            x: 1825,
            y: 335
          },
          tr: {
            x: 1850,
            y: 335
          },
          l: {
            x: 1800,
            y: 355
          },
          r: {
            x: 1850,
            y: 355
          },
          bl: {
            x: 1800,
            y: 375
          },
          bc: {
            x: 1825,
            y: 375
          },
          br: {
            x: 1850,
            y: 375
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M5-01'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagVqyppFVhuD',
        x: 1413,
        y: 665,
        client: {
          x: 1413,
          y: 665
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1388,
            y: 645
          },
          tc: {
            x: 1413,
            y: 645
          },
          tr: {
            x: 1438,
            y: 645
          },
          l: {
            x: 1388,
            y: 665
          },
          r: {
            x: 1438,
            y: 665
          },
          bl: {
            x: 1388,
            y: 685
          },
          bc: {
            x: 1413,
            y: 685
          },
          br: {
            x: 1438,
            y: 685
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M3-06'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagXxrQDgztHc',
        x: 1569,
        y: 349,
        client: {
          x: 1569,
          y: 349
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1544,
            y: 329
          },
          tc: {
            x: 1569,
            y: 329
          },
          tr: {
            x: 1594,
            y: 329
          },
          l: {
            x: 1544,
            y: 349
          },
          r: {
            x: 1594,
            y: 349
          },
          bl: {
            x: 1544,
            y: 369
          },
          bc: {
            x: 1569,
            y: 369
          },
          br: {
            x: 1594,
            y: 369
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M4-01'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetaggsB8lLJbWc',
        x: 1289,
        y: 852,
        client: {
          x: 1289,
          y: 852
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1264,
            y: 832
          },
          tc: {
            x: 1289,
            y: 832
          },
          tr: {
            x: 1314,
            y: 832
          },
          l: {
            x: 1264,
            y: 852
          },
          r: {
            x: 1314,
            y: 852
          },
          bl: {
            x: 1264,
            y: 872
          },
          bc: {
            x: 1289,
            y: 872
          },
          br: {
            x: 1314,
            y: 872
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M3-04'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagxClYw7YJlO',
        x: 1408,
        y: 853,
        client: {
          x: 1408,
          y: 853
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1383,
            y: 833
          },
          tc: {
            x: 1408,
            y: 833
          },
          tr: {
            x: 1433,
            y: 833
          },
          l: {
            x: 1383,
            y: 853
          },
          r: {
            x: 1433,
            y: 853
          },
          bl: {
            x: 1383,
            y: 873
          },
          bc: {
            x: 1408,
            y: 873
          },
          br: {
            x: 1433,
            y: 873
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M3-05'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagT02R5CoGr4',
        x: 1678,
        y: 348,
        client: {
          x: 1678,
          y: 348
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1653,
            y: 328
          },
          tc: {
            x: 1678,
            y: 328
          },
          tr: {
            x: 1703,
            y: 328
          },
          l: {
            x: 1653,
            y: 348
          },
          r: {
            x: 1703,
            y: 348
          },
          bl: {
            x: 1653,
            y: 368
          },
          bc: {
            x: 1678,
            y: 368
          },
          br: {
            x: 1703,
            y: 368
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M4-08'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagAchCUoFwqZ',
        x: 1679,
        y: 537,
        client: {
          x: 1679,
          y: 537
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1654,
            y: 517
          },
          tc: {
            x: 1679,
            y: 517
          },
          tr: {
            x: 1704,
            y: 517
          },
          l: {
            x: 1654,
            y: 537
          },
          r: {
            x: 1704,
            y: 537
          },
          bl: {
            x: 1654,
            y: 557
          },
          bc: {
            x: 1679,
            y: 557
          },
          br: {
            x: 1704,
            y: 557
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M4-07'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagWdbvy7OUl1',
        x: 1676,
        y: 667,
        client: {
          x: 1676,
          y: 667
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1651,
            y: 647
          },
          tc: {
            x: 1676,
            y: 647
          },
          tr: {
            x: 1701,
            y: 647
          },
          l: {
            x: 1651,
            y: 667
          },
          r: {
            x: 1701,
            y: 667
          },
          bl: {
            x: 1651,
            y: 687
          },
          bc: {
            x: 1676,
            y: 687
          },
          br: {
            x: 1701,
            y: 687
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M4-06'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetaguYvtDWfZdC',
        x: 1563,
        y: 538,
        client: {
          x: 1563,
          y: 538
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1538,
            y: 518
          },
          tc: {
            x: 1563,
            y: 518
          },
          tr: {
            x: 1588,
            y: 518
          },
          l: {
            x: 1538,
            y: 538
          },
          r: {
            x: 1588,
            y: 538
          },
          bl: {
            x: 1538,
            y: 558
          },
          bc: {
            x: 1563,
            y: 558
          },
          br: {
            x: 1588,
            y: 558
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M4-02'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: -1,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagh91wef1XDf',
        x: 1674,
        y: 850,
        client: {
          x: 1674,
          y: 850
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1649,
            y: 830
          },
          tc: {
            x: 1674,
            y: 830
          },
          tr: {
            x: 1699,
            y: 830
          },
          l: {
            x: 1649,
            y: 850
          },
          r: {
            x: 1699,
            y: 850
          },
          bl: {
            x: 1649,
            y: 870
          },
          bc: {
            x: 1674,
            y: 870
          },
          br: {
            x: 1699,
            y: 870
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M4-05'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagjNO3EyUJoa',
        x: 1562,
        y: 848,
        client: {
          x: 1562,
          y: 848
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1537,
            y: 828
          },
          tc: {
            x: 1562,
            y: 828
          },
          tr: {
            x: 1587,
            y: 828
          },
          l: {
            x: 1537,
            y: 848
          },
          r: {
            x: 1587,
            y: 848
          },
          bl: {
            x: 1537,
            y: 868
          },
          bc: {
            x: 1562,
            y: 868
          },
          br: {
            x: 1587,
            y: 868
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M4-04'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagUsfoWr1jBz',
        x: 1560,
        y: 669,
        client: {
          x: 1560,
          y: 669
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1535,
            y: 649
          },
          tc: {
            x: 1560,
            y: 649
          },
          tr: {
            x: 1585,
            y: 649
          },
          l: {
            x: 1535,
            y: 669
          },
          r: {
            x: 1585,
            y: 669
          },
          bl: {
            x: 1535,
            y: 689
          },
          bc: {
            x: 1560,
            y: 689
          },
          br: {
            x: 1585,
            y: 689
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M4-03'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagGyU476SxOS',
        x: 1935,
        y: 520,
        client: {
          x: 1935,
          y: 520
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1910,
            y: 500
          },
          tc: {
            x: 1935,
            y: 500
          },
          tr: {
            x: 1960,
            y: 500
          },
          l: {
            x: 1910,
            y: 520
          },
          r: {
            x: 1960,
            y: 520
          },
          bl: {
            x: 1910,
            y: 540
          },
          bc: {
            x: 1935,
            y: 540
          },
          br: {
            x: 1960,
            y: 540
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M5-07'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagrtLQWjmZ6d',
        x: 1825,
        y: 517,
        client: {
          x: 1825,
          y: 517
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1800,
            y: 497
          },
          tc: {
            x: 1825,
            y: 497
          },
          tr: {
            x: 1850,
            y: 497
          },
          l: {
            x: 1800,
            y: 517
          },
          r: {
            x: 1850,
            y: 517
          },
          bl: {
            x: 1800,
            y: 537
          },
          bc: {
            x: 1825,
            y: 537
          },
          br: {
            x: 1850,
            y: 537
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M5-02'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagvjdmKRkpwD',
        x: 1828,
        y: 666,
        client: {
          x: 1828,
          y: 666
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1803,
            y: 646
          },
          tc: {
            x: 1828,
            y: 646
          },
          tr: {
            x: 1853,
            y: 646
          },
          l: {
            x: 1803,
            y: 666
          },
          r: {
            x: 1853,
            y: 666
          },
          bl: {
            x: 1803,
            y: 686
          },
          bc: {
            x: 1828,
            y: 686
          },
          br: {
            x: 1853,
            y: 686
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M5-03'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagtEpbny5Y32',
        x: 1934,
        y: 349,
        client: {
          x: 1934,
          y: 349
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1909,
            y: 329
          },
          tc: {
            x: 1934,
            y: 329
          },
          tr: {
            x: 1959,
            y: 329
          },
          l: {
            x: 1909,
            y: 349
          },
          r: {
            x: 1959,
            y: 349
          },
          bl: {
            x: 1909,
            y: 369
          },
          bc: {
            x: 1934,
            y: 369
          },
          br: {
            x: 1959,
            y: 369
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M5-08'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetage4xc4q8LIQ',
        x: 1941,
        y: 666,
        client: {
          x: 1941,
          y: 666
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1916,
            y: 646
          },
          tc: {
            x: 1941,
            y: 646
          },
          tr: {
            x: 1966,
            y: 646
          },
          l: {
            x: 1916,
            y: 666
          },
          r: {
            x: 1966,
            y: 666
          },
          bl: {
            x: 1916,
            y: 686
          },
          bc: {
            x: 1941,
            y: 686
          },
          br: {
            x: 1966,
            y: 686
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M5-06'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagZsAuLSSGLh',
        x: 1833,
        y: 852,
        client: {
          x: 1833,
          y: 852
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1808,
            y: 832
          },
          tc: {
            x: 1833,
            y: 832
          },
          tr: {
            x: 1858,
            y: 832
          },
          l: {
            x: 1808,
            y: 852
          },
          r: {
            x: 1858,
            y: 852
          },
          bl: {
            x: 1808,
            y: 872
          },
          bc: {
            x: 1833,
            y: 872
          },
          br: {
            x: 1858,
            y: 872
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M5-04'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      },
      {
        id: 'terminal-svg-icetagTtRyojimeR',
        x: 1948,
        y: 849,
        client: {
          x: 1948,
          y: 849
        },
        scale_x: 1,
        scale_y: 1,
        rotate: 0,
        actual_bound: {
          x: 0,
          y: 0,
          width: 50,
          height: 40
        },
        point_coordinate: {
          tl: {
            x: 1923,
            y: 829
          },
          tc: {
            x: 1948,
            y: 829
          },
          tr: {
            x: 1973,
            y: 829
          },
          l: {
            x: 1923,
            y: 849
          },
          r: {
            x: 1973,
            y: 849
          },
          bl: {
            x: 1923,
            y: 869
          },
          bc: {
            x: 1948,
            y: 869
          },
          br: {
            x: 1973,
            y: 869
          }
        },
        name: 'terminal-svg-icetag',
        title: '空调',
        event: 1,
        tag: 'terminal-svg-icetag',
        type: 'CustomSvg',
        display: true,
        config: {
          can_zoom: true,
          have_anchor: false,
          actual_rect: true
        },
        props: {
          text: {
            title: '空调名称',
            type: 'Input',
            val: 'M5-05'
          },
          state: {
            title: '开关状态',
            type: 'Select',
            val: 0,
            options: [
              {
                value: 0,
                label: '关'
              },
              {
                value: 1,
                label: '开'
              },
              {
                value: -1,
                label: '--'
              }
            ]
          },
          fontSize: {
            title: '名称文字大小',
            type: 'InputNumber',
            val: 14
          },
          fill: {
            title: '文字颜色',
            type: 'Color',
            val: 'rgba(200, 222, 254, 1)'
          },
          bgFill: {
            title: '背景颜色',
            type: 'Color',
            val: 'rgba(0,44,86,0.8)'
          }
        },
        common_animations: {
          val: '',
          delay: 'delay-0s',
          speed: 'slow',
          repeat: 'infinite',
          cursor: true
        }
      }
    ]
  };
  const toGetRoomConfig = async () => {
    let data = {
      projectType: code.value.projectType,
      roomCode: code.value.roomCode
    };
    const reData: any = await getRoomConfig(data);
    data_model.value = reData;
  };
  const toGetRoomData = async () => {
    // let data = {
    //   projectType: code.value.projectType,
    //   roomCode: code.value.roomCode
    // };
    // const reData: any = await getRoomData(data);
    const reData: any = {
      hum: {
        'm1-01': 51.2,
        'm1-02': 51.2,
        'm1-03': 51.2,
        'm1-04': 51.2
      },
      tem: {
        'm1-01': 32,
        'm1-02': 22,
        'm1-03': 24,
        'm1-04': 22
      },
      state: {
        'm1-01': 1,
        'm1-02': 0,
        'm1-03': 1,
        'm1-04': 1
      }
    };
    console.log(data_model.value.done_json);
    data_model.value.done_json.forEach((item) => {
      if (item.title === '空调') {
        item.props.state.val = reData.state[item.props.text.val];
      }
    });
    // data_model.value = reData;
  };

  onMounted(async () => {
    code.value = route.query;
    console.log(code.value);
    await toGetRoomData();
    await toGetRoomConfig;
  });
</script>
